-- GENERATED SPELL FOR [Defias Night Runner] --


function spell0_215(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(2589,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_215', 522, 1)
end

function Sorts_215(pUnit, Event)
local choix_sorts_215 = math.random(0, 0)
if choix_sorts_215 == 0 then
pUnit:RegisterEvent('spell0_215', 1, 1)
end
end

function mob215_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_215', math.random(1500, 3000), 1)
end

function mob215_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob215_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob215_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(215, 1, 'mob215_Action')
RegisterUnitEvent(215, 2, 'mob215_Leave')
RegisterUnitEvent(215, 3, 'mob215_Kill')
RegisterUnitEvent(215, 4, 'mob215_Die')
